Skip to content

Conversation

cardboardcode
Copy link

@cardboardcode cardboardcode commented Jul 15, 2025

Purpose Of Pull Request 🔖

Hi @facontidavide, thank you for this simple example of using BehaviorTree.CPP. Just started learning to use Behavior Trees in my own projects and your guides have been very helpful.

The PR is to simply add a verified Dockerfile to allow newcomers to easily set up and run btcpp_sample.

Steps To Reproduce 📚

  1. Download the repository:
git clone https://github.com/cardboardcode/btcpp_sample.git --depth 1 --single-branch --branch feature/dockerise && cd btcpp_sample
  1. Build the docker image:
docker build -t btcpp_sample:latest .
  1. Run btcpp_sample in a docker container:
docker run -it --rm \
	--name btcpp_sample_c \
btcpp_sample:latest bash -c "./btcpp_sample"

Verify ✔️

You should see the following output to know that it worked:

this works too
The answer is 42

…conflicting environment dependencies.

Signed-off-by: gary.bey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant